package com.asymptote.data;

import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

import com.asymptote.DataEntity;
import com.google.appengine.api.datastore.Key;

@PersistenceCapable(detachable="true")
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public abstract class ElementBaseEntity extends DataEntity {
	private static final long serialVersionUID = -2845183852880091818L;
	
	@Persistent
	private Key member;
	
	@Persistent
	private int value;

	public Key getMember() {
		return member;
	}
	
	public int getValue() {
		return value;
	}

	public void setMember(Key member) {
		this.member = member;
	}
	
	public void setValue(int value) {
		this.value = value;
	}
}
